require.config({
  paths: {
    'mocha' : 'libs/mocha',
    'chai'  : 'libs/chai',
    'zepto' : '../libs/zepto.min',
    'service' : '../js/service'
  },
  shim: {
    'mocha' : {
      exports: 'mocha'
    },
    'service' : {
      deps: ['zepto'],
      exports: 'service'
    }
  }
});

//define(['chai', 'mocha', 'require'], function(chai, mocha, require) {
define(function (require) {
    var chai = require('chai');
    var mocha = require('mocha')
    var should = chai.should();
    mocha.setup('bdd');
    
    require(['api.spec'], function() {
      mocha.checkLeaks();
      mocha.run();
    })
})
